package com.dormms.service;

import java.util.List;
import com.dormms.bean.GoodInfo;
import com.dormms.bean.StaffInfo;
import com.dormms.dto.GoodAdmin;
import com.dormms.dto.GoodAdminInfo;

public interface GoodService {
	//查询公共财产表
	public List<GoodInfo> queryGoodInfoByGoodInfo(GoodInfo goodInfo);
	//插入到公共财产楼
	public Integer insertGoodInfo(GoodInfo goodInfo);
	//公共财产分配
	public Integer insertGoodAdminInfo(GoodAdmin goodAdmin);
	//查询未分配财产的维修人员
	public List<StaffInfo> getNoAdminGoodStaff();
	//查询所选公共财产所有在职管理人员
	public GoodAdminInfo getGoodAllStaff(Integer goodInfoId);
	//更新公共财产表
	public Integer updateGoodInfoBySuper(GoodInfo goodInfo);
	
	public Integer queryGoodInfoIdIdByStaffId(String staffId);
	public Integer deleteGoodAdmin(String staffId);
}
